<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<title>梧州旅游地图</title>
<!--  
<link href="../../../App_Themes/Default/Default.css" rel="stylesheet"
	type="text/css" />
<link href="../../CustomTheme/Plugin.css" rel="stylesheet"
	type="text/css" />
-->
<script type="text/javascript"
	src="http://maps.google.com/maps/api/js?sensor=false&libraries=places"></script>
<script type="text/javascript" src="js/toLatLng.js"></script>

<script type="text/javascript" src="js/mapscript.js"></script>
<script type="text/javascript" src="js/distance.js"></script>
<script type="text/javascript" src="js/searchRoad.js"></script>
<script type="text/javascript" src="js/scenic.js"></script>
<script type="text/javascript" src="js/checkPosition.js"></script>

<script type="text/javascript">
	function setMapDiv(VWidth, VHeight) {
		//var mydiv = document.getElementById("map_div");
		var mapdiv = document.getElementById("map");
		//var toolsdiv = document.getElementById("tools");
		//var searchdiv = document.getElementById("search");
		//alert(VWidth + "<<>>" + VHeight);
		//mydiv.style.width = VWidth;
		//mydiv.style.height = VHeight;
		mapdiv.style.width = VWidth;
		mapdiv.style.height = VHeight;
		//toolsdiv.style.width = VWidth;
		//searchdiv.style.width = VWidth;
	}
</script>
</head>
<body onload="MapInit()">
<div id="map_div">
	<div id="tools" style="display:none">
		<!--		<input type="button" id="showMarker" value="隐藏景点" onclick="markerFun();"/> 
					<input type="button" id="ceJu" value="测距" onclick="ceJu();" /> 
					<input type="button" id="ceJu" value="地位" onclick="" />
					 <input id="cancelDiv" type="button" onclick="addPoint();" value="公路导航" /> 
		 -->
		<strong>选择交通工具: </strong> <select id="mode" onchange="calcRoute();">
			<option value="DRIVING">Driving</option>
			<option value="WALKING">Walking</option>
			<option value="BICYCLING">Bicycling</option>
			<option value="TRANSIT">Transit</option>
		</select>
	</div>
	<div id="search" style="display:none">
		<!-- class='searchDiv' -->
		请输入地点：<input id="address" type="textbox" value="" /> <input
			type="button" value=" 解 析 " id="go" onClick="codeAddress()" />
	</div>
	
	<div id="map"></div>
	</div>
</body>
</html>